interface User {
    readonly IDCard: string;
    readonly name: string;
    nickname: string
}

// const num:number = 123
// const obj = {
//     name: '张三',
//     IDCard: '410122189012126541'
// }

// obj.name = '李四'
// console.log(obj);
const obj:User = {
    IDCard: '410122189012126541',
    name: '张三',
    nickname: '李狗蛋'
}

obj.nickname = '123'
